import 'package:flutter/material.dart';

class AppTheme {
  static const Color primaryColor = Color(0xFFF54788);
  static const Color primaryLight = Color(0xFFFEE1EA);
  static const Color secondaryColor = Color(0xFF9370DB);
  static const Color textPrimary = Color(0xFF333333);
  static const Color textSecondary = Color(0xFF666666);
  static const Color textLight = Color(0xFF999999);
  static const Color background = Color(0xFFF8F8F8);
  static const Color white = Color(0xFFFFFFFF);
  static const Color red = Color(0xFFF54788);
  static const Color green = Color(0xFF4CAF50);
  static const Color gray = Color(0xFFE0E0E0);
  static const Color lightGray = Color(0xFFF0F0F0);

  static const TextStyle titleStyle = TextStyle(
    fontSize: 18,
    fontWeight: FontWeight.bold,
    color: textPrimary,
  );

  static const TextStyle subtitleStyle = TextStyle(
    fontSize: 14,
    color: textSecondary,
  );

  static const TextStyle bodyStyle = TextStyle(
    fontSize: 16,
    color: textPrimary,
  );

  static const TextStyle smallStyle = TextStyle(
    fontSize: 12,
    color: textLight,
  );

  static ThemeData get theme => ThemeData(
        primaryColor: primaryColor,
        scaffoldBackgroundColor: background,
        colorScheme: ColorScheme.fromSwatch().copyWith(
          primary: primaryColor,
          secondary: secondaryColor,
        ),
        textTheme: const TextTheme(
          titleMedium: titleStyle,
          titleSmall: subtitleStyle,
          bodyLarge: bodyStyle,
          bodyMedium: smallStyle,
        ),
        appBarTheme: const AppBarTheme(
          backgroundColor: white,
          elevation: 0,
          titleTextStyle: titleStyle,
          iconTheme: IconThemeData(color: textPrimary),
        ),
      );
}
